package com.aizuda.boot.modules.business.contract.entity.dto;

import com.aizuda.boot.modules.common.constant.enums.WorkflowNodeOperationTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * @Author sangyirong
 * @ClassName WorkflowNodeControlConfigDTO
 * @Version 1.0
 * @Date 2025/5/22 15:46
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema( description= "合同流程节点操作配置")
public class WorkflowNodeControlConfigDTO {

    @Schema(description = "所属节点ID")
    private Integer nodeId;

    @Schema(description = "操作类型")
    private WorkflowNodeOperationTypeEnum operationType;

    @Schema(description = "是否启用")
    private Boolean enabled;

    @Schema(description = "配置JSON")
    private Map<String,Object> config;
}
